#include <stdio.h>
#include <malloc.h>

extern struct node
{
    int id;
    char buff[255];
    struct buff *next;
};

extern struct node *create();

/*extern struct node *create()
{
    struct node *head, *p1, *p2;
    int num = 0;
    p1 = p2 = malloc(sizeof(struct node));
    scanf("%d,%s", &p1 -> id, &p1 -> buff);
    head = NULL;
    while(p1 -> id != 0)
    {
        num ++;
        if(num == 1) head = p1;
        else p2 -> next = p1;
        p2 = p1;
        p1 = malloc(sizeof(struct node));
        scanf("%d,%s", &p1 -> id, &p1 -> buff);
    }
    p2 -> next = NULL;
    return head;
}*/
